package com.bix.util.blizfiles.m2;

import java.nio.ByteBuffer;

public class M2RGB {
	private	float	red;
	private	float	green;
	private	float	blue;

	public M2RGB () {
	}
	
	public M2RGB (ByteBuffer bb) {
		read (bb);
	}
	
	public void read (ByteBuffer bb) {
		red = bb.getFloat();
		green = bb.getFloat();
		blue = bb.getFloat();
	}

	/**
	 * @return the red
	 */
	public float getRed() {
		return red;
	}

	/**
	 * @return the green
	 */
	public float getGreen() {
		return green;
	}

	/**
	 * @return the blue
	 */
	public float getBlue() {
		return blue;
	}
}
